﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="AnyOffice.module.html_model.index" %>

<%@ Reference Page="~/index.aspx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>选择模版</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		
		<style>
.menulines { }
		</style>
		<SCRIPT>
<!--

var menu_enter="";

function borderize_on(e)
{
 color="#708DDF";
 source3=event.srcElement

 if(source3.className=="menulines" && source3!=menu_enter)
    source3.style.backgroundColor=color;
}

function borderize_on1(e)
{
 for (i=0; i<document.all.length; i++)
 { document.all(i).style.borderColor="";
   document.all(i).style.backgroundColor="";
   document.all(i).style.color="";
   document.all(i).style.fontWeight="";
 }

 color="#003FBF";
 source3=event.srcElement

 if(source3.className=="menulines")
 { source3.style.borderColor="black";
   source3.style.backgroundColor=color;
   source3.style.color="white";
   source3.style.fontWeight="bold";
 }

 menu_enter=source3;
}

function borderize_off(e)
{
 source4=event.srcElement

 if(source4.className=="menulines" && source4!=menu_enter)
    {source4.style.backgroundColor="";
     source4.style.borderColor="";
    }
}

//-->
		</SCRIPT>
		<script Language="JavaScript">
var parent_window = parent.dialogArguments;

function click_model(ID)
{
  targetelement=document.all(ID);
  parent_window.insertHtml(targetelement.value);
 
  window.close();
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<table border="1" cellspacing="0" width="100%" class="small" cellpadding="3" bordercolorlight="#000000"
				bordercolordark="#ffffff" onMouseover="borderize_on(event)" onMouseout="borderize_off(event)"
				onclick="borderize_on1(event)">
				<tr class="TableHeader">
					<td bgcolor="#d6e7ef" align="center"><b>选择模版</b></td>
				</tr>
				<asp:Literal id="litTemplate" runat="server"></asp:Literal>				
			</table>
			
		</form>
	</body>
</HTML>
